﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Pay.DTO {
	/// <summary>
	/// 登录请求信息
	/// </summary>
	public class login_model {
        /// <summary>
        /// 区域编号
        /// </summary>
        public string mobile_code { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        [Required(ErrorMessage = "请填写手机号码")]
		//[StringLength(11, ErrorMessage = "手机号码必须是11位", MinimumLength = 11)]
		public string mobile { get; set; }
		/// <summary>
		/// 密码
		/// </summary>
		[Required(ErrorMessage = "请填写密码")]
		public string password { get; set; }
	}
}
